package com.entity;
import java.util.List;

 
public class Lock {
	Integer id;
	String lockName;
	List<Key> keys;
	
	public List<Key> getKeys() {
		return keys;
	}
	public void setKeys(List<Key> keys) {
		this.keys = keys;
	}
	public Integer getId() {
		return id;
	}
	public String getLockName() {
		return lockName;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public void setLockName(String lockName) {
		this.lockName = lockName;
	}
	@Override
	public String toString() {
		//return "";
		return "Lock [id=" + id + ", lockName=" + lockName + ", keys=" + keys + "]";
	}
	public Lock(Integer id, String lockName, List<Key> keys) {
		super();
		this.id = id;
		this.lockName = lockName;
		this.keys = keys;
	}
	public Lock() {
		super();
		// TODO Auto-generated constructor stub
	}
		
}
